/**
 * @author abid.hussain 
 */
exports.GAStoreVersionModel = Core.Class.subclass({
	classname : 'GAStoreVersionModel',
	initialize : function(store)
	{
		this._storeName = null;
		this._position = null;
		this._store_id = null;
		this._storeVersion = null;
		this._visible_id = null;
		this._isActive = null;
		this._game_id = null;
		this.parseStore(store);
	},
	parseStore : function(store) {
		if (store != null) {
			this._storeName = store['@name'];
			this._position = store['@position'];
			this._store_id = store['@store_id'];
			this._storeVersion = store['@version'];
			this._game_id = store['@game_id'];
			this._visible_id = store['@visible_id'];
			this._isActive = store['@is_active'];
		}
	},
	getStoreName : function(){
		return this._storeName;
	},
	getPosition : function(){
		return this._position;
	},
	getStoreId : function(){
		return this._store_id;
	},
	getStoreVersion : function(){
		return this._storeVersion;
	},
	getGameId : function(){
		return this._game_id;
	},
	getVisibleId : function(){
		return this._visible_id;
	},
	getIsActive : function(){
		return this._isActive;
	},
	destroy : function(){
		this._storeName = null;
		this._position = null;
		this._store_id = null;
		this._storeVersion = null;
		this._visible_id = null;
		this._isActive = null;
		this._game_id = null;
	}
	
});